#!/usr/bin/env pytho
# -*- coding: utf-8 -*-

# s = '''ueqwoiej231aaaa8230912jdlskdasks22dddddsdjasjdmnmxczfddfd56555555zmwqeoiqwoizcm'''
# 找出连续重复字符次数最多的字符串

# max_k = None
# max_v = 0
# temp_ch = None
# for ch in s:
#     if temp_ch is None:
#         temp_ch = ch
#         continue
#     if temp_ch == ch:
#         temp_ch += ch
#     else:
#         if len(temp_ch) > max_v:
#             max_v = len(temp_ch)
#             max_k = temp_ch[0]
#         temp_ch = ch
# print(max_k * max_v,max_v)
#

# 字符串反转的：
s = "hello python world"
l = s.split(" ")
for i in l:
    print(i[::-1], end= " ")